throws keyword in Java Exception Handling example